/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.hl7.v3;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

import org.eclipse.emf.common.util.Enumerator;

/**
 * <!-- begin-user-doc -->
 * A representation of the literals of the enumeration '<em><b>Respiratory Therapist Certified Provider Codes</b></em>',
 * and utility methods for working with them.
 * <!-- end-user-doc -->
 * <!-- begin-model-doc -->
 * specDomain: S20567 (C-0-T19465-S20532-S20567-cpt)
 * <!-- end-model-doc -->
 * @see org.hl7.v3.V3Package#getRespiratoryTherapistCertifiedProviderCodes()
 * @model extendedMetaData="name='RespiratoryTherapistCertifiedProviderCodes'"
 * @generated
 */
public enum RespiratoryTherapistCertifiedProviderCodes implements Enumerator {
	/**
	 * The '<em><b>227800000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_227800000X_VALUE
	 * @generated
	 * @ordered
	 */
	_227800000X(0, "_227800000X", "227800000X"),

	/**
	 * The '<em><b>2278C0205X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2278C0205X_VALUE
	 * @generated
	 * @ordered
	 */
	_2278C0205X(1, "_2278C0205X", "2278C0205X"),

	/**
	 * The '<em><b>2278E0002X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2278E0002X_VALUE
	 * @generated
	 * @ordered
	 */
	_2278E0002X(2, "_2278E0002X", "2278E0002X"),

	/**
	 * The '<em><b>2278G1100X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2278G1100X_VALUE
	 * @generated
	 * @ordered
	 */
	_2278G1100X(3, "_2278G1100X", "2278G1100X"),

	/**
	 * The '<em><b>2278G0305X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2278G0305X_VALUE
	 * @generated
	 * @ordered
	 */
	_2278G0305X(4, "_2278G0305X", "2278G0305X"),

	/**
	 * The '<em><b>2278H0200X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2278H0200X_VALUE
	 * @generated
	 * @ordered
	 */
	_2278H0200X(5, "_2278H0200X", "2278H0200X"),

	/**
	 * The '<em><b>2278P3900X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2278P3900X_VALUE
	 * @generated
	 * @ordered
	 */
	_2278P3900X(6, "_2278P3900X", "2278P3900X"),

	/**
	 * The '<em><b>2278P3800X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2278P3800X_VALUE
	 * @generated
	 * @ordered
	 */
	_2278P3800X(7, "_2278P3800X", "2278P3800X"),

	/**
	 * The '<em><b>2278E1000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2278E1000X_VALUE
	 * @generated
	 * @ordered
	 */
	_2278E1000X(8, "_2278E1000X", "2278E1000X"),

	/**
	 * The '<em><b>2278P4000X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2278P4000X_VALUE
	 * @generated
	 * @ordered
	 */
	_2278P4000X(9, "_2278P4000X", "2278P4000X"),

	/**
	 * The '<em><b>2278P1004X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2278P1004X_VALUE
	 * @generated
	 * @ordered
	 */
	_2278P1004X(10, "_2278P1004X", "2278P1004X"),

	/**
	 * The '<em><b>2278P1006X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2278P1006X_VALUE
	 * @generated
	 * @ordered
	 */
	_2278P1006X(11, "_2278P1006X", "2278P1006X"),

	/**
	 * The '<em><b>2278P1005X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2278P1005X_VALUE
	 * @generated
	 * @ordered
	 */
	_2278P1005X(12, "_2278P1005X", "2278P1005X"),

	/**
	 * The '<em><b>2278S1500X</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_2278S1500X_VALUE
	 * @generated
	 * @ordered
	 */
	_2278S1500X(13, "_2278S1500X", "2278S1500X");

	/**
	 * The '<em><b>227800000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>227800000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_227800000X
	 * @model literal="227800000X"
	 * @generated
	 * @ordered
	 */
	public static final int _227800000X_VALUE = 0;

	/**
	 * The '<em><b>2278C0205X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2278C0205X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2278C0205X
	 * @model literal="2278C0205X"
	 * @generated
	 * @ordered
	 */
	public static final int _2278C0205X_VALUE = 1;

	/**
	 * The '<em><b>2278E0002X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2278E0002X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2278E0002X
	 * @model literal="2278E0002X"
	 * @generated
	 * @ordered
	 */
	public static final int _2278E0002X_VALUE = 2;

	/**
	 * The '<em><b>2278G1100X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2278G1100X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2278G1100X
	 * @model literal="2278G1100X"
	 * @generated
	 * @ordered
	 */
	public static final int _2278G1100X_VALUE = 3;

	/**
	 * The '<em><b>2278G0305X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2278G0305X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2278G0305X
	 * @model literal="2278G0305X"
	 * @generated
	 * @ordered
	 */
	public static final int _2278G0305X_VALUE = 4;

	/**
	 * The '<em><b>2278H0200X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2278H0200X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2278H0200X
	 * @model literal="2278H0200X"
	 * @generated
	 * @ordered
	 */
	public static final int _2278H0200X_VALUE = 5;

	/**
	 * The '<em><b>2278P3900X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2278P3900X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2278P3900X
	 * @model literal="2278P3900X"
	 * @generated
	 * @ordered
	 */
	public static final int _2278P3900X_VALUE = 6;

	/**
	 * The '<em><b>2278P3800X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2278P3800X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2278P3800X
	 * @model literal="2278P3800X"
	 * @generated
	 * @ordered
	 */
	public static final int _2278P3800X_VALUE = 7;

	/**
	 * The '<em><b>2278E1000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2278E1000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2278E1000X
	 * @model literal="2278E1000X"
	 * @generated
	 * @ordered
	 */
	public static final int _2278E1000X_VALUE = 8;

	/**
	 * The '<em><b>2278P4000X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2278P4000X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2278P4000X
	 * @model literal="2278P4000X"
	 * @generated
	 * @ordered
	 */
	public static final int _2278P4000X_VALUE = 9;

	/**
	 * The '<em><b>2278P1004X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2278P1004X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2278P1004X
	 * @model literal="2278P1004X"
	 * @generated
	 * @ordered
	 */
	public static final int _2278P1004X_VALUE = 10;

	/**
	 * The '<em><b>2278P1006X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2278P1006X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2278P1006X
	 * @model literal="2278P1006X"
	 * @generated
	 * @ordered
	 */
	public static final int _2278P1006X_VALUE = 11;

	/**
	 * The '<em><b>2278P1005X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2278P1005X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2278P1005X
	 * @model literal="2278P1005X"
	 * @generated
	 * @ordered
	 */
	public static final int _2278P1005X_VALUE = 12;

	/**
	 * The '<em><b>2278S1500X</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>2278S1500X</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_2278S1500X
	 * @model literal="2278S1500X"
	 * @generated
	 * @ordered
	 */
	public static final int _2278S1500X_VALUE = 13;

	/**
	 * An array of all the '<em><b>Respiratory Therapist Certified Provider Codes</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private static final RespiratoryTherapistCertifiedProviderCodes[] VALUES_ARRAY =
		new RespiratoryTherapistCertifiedProviderCodes[] {
			_227800000X,
			_2278C0205X,
			_2278E0002X,
			_2278G1100X,
			_2278G0305X,
			_2278H0200X,
			_2278P3900X,
			_2278P3800X,
			_2278E1000X,
			_2278P4000X,
			_2278P1004X,
			_2278P1006X,
			_2278P1005X,
			_2278S1500X,
		};

	/**
	 * A public read-only list of all the '<em><b>Respiratory Therapist Certified Provider Codes</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static final List<RespiratoryTherapistCertifiedProviderCodes> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));

	/**
	 * Returns the '<em><b>Respiratory Therapist Certified Provider Codes</b></em>' literal with the specified literal value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static RespiratoryTherapistCertifiedProviderCodes get(String literal) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			RespiratoryTherapistCertifiedProviderCodes result = VALUES_ARRAY[i];
			if (result.toString().equals(literal)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Respiratory Therapist Certified Provider Codes</b></em>' literal with the specified name.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static RespiratoryTherapistCertifiedProviderCodes getByName(String name) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			RespiratoryTherapistCertifiedProviderCodes result = VALUES_ARRAY[i];
			if (result.getName().equals(name)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Respiratory Therapist Certified Provider Codes</b></em>' literal with the specified integer value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static RespiratoryTherapistCertifiedProviderCodes get(int value) {
		switch (value) {
			case _227800000X_VALUE: return _227800000X;
			case _2278C0205X_VALUE: return _2278C0205X;
			case _2278E0002X_VALUE: return _2278E0002X;
			case _2278G1100X_VALUE: return _2278G1100X;
			case _2278G0305X_VALUE: return _2278G0305X;
			case _2278H0200X_VALUE: return _2278H0200X;
			case _2278P3900X_VALUE: return _2278P3900X;
			case _2278P3800X_VALUE: return _2278P3800X;
			case _2278E1000X_VALUE: return _2278E1000X;
			case _2278P4000X_VALUE: return _2278P4000X;
			case _2278P1004X_VALUE: return _2278P1004X;
			case _2278P1006X_VALUE: return _2278P1006X;
			case _2278P1005X_VALUE: return _2278P1005X;
			case _2278S1500X_VALUE: return _2278S1500X;
		}
		return null;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final int value;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String name;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String literal;

	/**
	 * Only this class can construct instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private RespiratoryTherapistCertifiedProviderCodes(int value, String name, String literal) {
		this.value = value;
		this.name = name;
		this.literal = literal;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public int getValue() {
	  return value;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getName() {
	  return name;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getLiteral() {
	  return literal;
	}

	/**
	 * Returns the literal value of the enumerator, which is its string representation.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public String toString() {
		return literal;
	}
	
} //RespiratoryTherapistCertifiedProviderCodes
